/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sd.rmi.simple.client;

import java.rmi.RemoteException;

/**
 *
 * @author blackdevil
 */
public class Client {
    final static String url_local = "127.0.0.1";
    final static String url_uni = "151.97.56.246";
    final static String url_lan = "192.168.10.2";
	
    public Client() {
        super();
    }

    
    public static void main (String [] argv) {
    	try {
			System.out.print("invoco getPerson: name: " + 
					ClientServiceFactory.getInstance().getService().getPerson().getName() + 
					" age: " + ClientServiceFactory.getInstance().getService().getPerson().getAge());
		} catch (RemoteException e) {
			e.printStackTrace();
		}
    }
}
